DATA

Syntax: DATA expression {,expression}
Location: QL ROM

The QL allows a SuperBASIC program to store a set of data in the program itself, which can then be assigned to a given variable by the READ command.  The DATA statement marks these areas for use by READ.

The information which can be stored at a DATA statement is basically anything which can be stored in a variable, including strings, variables, constants and expressions.

Expressions will be calculated at the time that the item in question is READ.

Whilst a program is running, unless a READ command is found, DATA statements are ignored.

CROSS-REFERENCE:
RESTORE allows you to set the current DATA pointer.
READ will assign the value at the current DATA pointer to the given variable.
EOF will return the value one if there are no more DATA statements in the current program.
